﻿CREATE TABLE [dbo].[MovieDisc] (
    [Id]      BIGINT NOT NULL IDENTITY,
    [TypeId]  BIGINT NOT NULL,
    [MovieId] BIGINT NOT NULL,
    [Copies]  INT    NOT NULL,
    PRIMARY KEY CLUSTERED ([Id] ASC),
    CONSTRAINT [FK_MovieDisc_DiscType] FOREIGN KEY ([TypeId]) REFERENCES [dbo].[DiscType] ([Id])
);

